package com.nanhai.buddhist.college.module.collegebase.convert.textbookinfo.type;

import java.util.*;

import com.nanhai.buddhist.college.framework.common.pojo.PageResult;

import com.nanhai.buddhist.college.module.collegebase.controller.admin.textbookinfo.type.vo.TextbookTypeCreateReqVO;
import com.nanhai.buddhist.college.module.collegebase.controller.admin.textbookinfo.type.vo.TextbookTypeExcelVO;
import com.nanhai.buddhist.college.module.collegebase.controller.admin.textbookinfo.type.vo.TextbookTypeRespVO;
import com.nanhai.buddhist.college.module.collegebase.controller.admin.textbookinfo.type.vo.TextbookTypeUpdateReqVO;
import com.nanhai.buddhist.college.module.collegebase.dal.dataobject.textbooktype.TextbookTypeDO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * 教材分类 Convert
 *
 * @author AKai
 */
@Mapper
public interface TextbookTypeConvert {

    TextbookTypeConvert INSTANCE = Mappers.getMapper(TextbookTypeConvert.class);

    TextbookTypeDO convert(TextbookTypeCreateReqVO bean);

    TextbookTypeDO convert(TextbookTypeUpdateReqVO bean);

    TextbookTypeRespVO convert(TextbookTypeDO bean);

    List<TextbookTypeRespVO> convertList(List<TextbookTypeDO> list);

    PageResult<TextbookTypeRespVO> convertPage(PageResult<TextbookTypeDO> page);

    List<TextbookTypeExcelVO> convertList02(List<TextbookTypeDO> list);

}
